package com.mpdbailey.unittests.diagnostics;

public class Timing
{
	long _Start;
	public Timing()
	{
		_Start =  System.nanoTime();
	}
	public void Show()
	{
		Show("Timing");
	}
	public void Show(String tag)
	{
		long duration = (System.nanoTime()-_Start)/1000000;
		StringBuilder sbuff  = new StringBuilder(tag+" ");
		sbuff.append(duration);
		sbuff.append("ms");
		System.out.println(sbuff.toString());
	}

}
